import $http from "./requst";
// 登陆
export const login = data =>
  $http({ url: "/admin/Login/login", method: "post", data });
//获取验证码
export const Sendsms = data =>
  $http({ url: "/common/Sendsms", method: "post", data });
// 用户列表
export const User = data => $http({ url: "/admin/User", method: "post", data });
// 用户详情
export const userDetails = data =>
  $http({ url: "/admin/User/userDetails", method: "post", data });
// 账号限流、恢复
export const userStatus = data =>
  $http({ url: "/admin/User/userStatus", method: "post", data });
// 收益明细
export const income = data =>
  $http({ url: "/admin/User/income", method: "post", data });
// 举报列表
export const report = data =>
  $http({ url: "/admin/User/report", method: "post", data });
// 举报列表
export const handleReport = data =>
  $http({ url: "/admin/User/handleReport", method: "post", data });
// 客服微信、客服热线
export const talkEdit = data =>
  $http({ url: "/admin/Configset/edit1", method: "post", data });
// 会员设置
export const payEdit = data =>
  $http({ url: "/admin/Configset/edit", method: "post", data });
// 会员、认证、其他设置
export const show = data =>
  $http({ url: "/admin/Configset/show", method: "post", data });
// 相亲套餐列表
export const Blinddate = data =>
  $http({ url: "/admin/Blinddate", method: "post", data });
// 发帖列表
export const Tieba = data =>
  $http({ url: "/admin/Tieba", method: "post", data });
// 帖子回显
export const sendShow = data =>
  $http({ url: "/admin/Tieba/show", method: "post", data });
// 发帖删除
export const sendDel = data =>
  $http({ url: "/admin/Tieba/delete", method: "post", data });
// 发帖新增
export const sendAdd = data =>
  $http({ url: "/admin/Tieba/add", method: "post", data });
// 发帖编辑
export const sendEdit = data =>
  $http({ url: "/admin/Tieba/edit", method: "post", data });
// 清除照片
export const clearPhoto = data =>
  $http({ url: "/admin/User/clearPhoto", method: "post", data });
// 所有用户
export const allUser = data =>
  $http({ url: "/admin/User/allUser", method: "post", data });

// 轮播图列表
export const Banner = data =>
  $http({
    url: "/admin/Banner",
    method: "post",
    data
  });
// 轮播图删除
export const BannerDel = data =>
  $http({
    url: "/admin/Banner/delete",
    method: "post",
    data
  });
// 轮播图新增编辑
export const bannerAdd = data =>
  $http({
    url: "/admin/Banner/add",
    method: "post",
    data
  });
// 轮播图新增编辑
export const bannerEdit = data =>
  $http({
    url: "/admin/Banner/edit",
    method: "post",
    data
  });

// 提现列表
export const Stationmaster = data =>
  $http({
    url: "/admin/Withdrawal",
    method: "post",
    data
  });
// 提现操作
export const StationWithdrawalExamine = data =>
  $http({
    url: "/admin/Withdrawal/withdrawalExamine",
    method: "post",
    data
  });
